package com.guyan.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * ClassName： Product
 * Date： 2021/5/24 15:30
 *
 * @author 孤焰
 * @version 1.0
 **/

@NoArgsConstructor
@AllArgsConstructor
@Data
public class Product {
    private Integer id;
    private Integer categoryId;
    private String name;
    private String subtitle;
    private String mainImage;
    private String subImages;
    private String detail;
    private BigDecimal price;
    private Long stock;
    private Integer status;
    private Date createTime;
    private Date updateTime;

    private Category category;
}
